package com.second.app.designpattern.bridge.juejin;

import java.io.BufferedInputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;

/**
 * @Author GYZ
 * @Date 2023/11/8
 * <pre>
 *
 * </pre>
 */
public class Main {
    public static void main(String[] args) throws FileNotFoundException {
        BenzCar benzCar = new BenzCar(new Red());
        benzCar.declare();
        BmwCar bmwCar = new BmwCar(new Blue());
        bmwCar.declare();
        AudiCar audiCar = new AudiCar(new Yellow());
        audiCar.declare();

        BufferedInputStream bis = new BufferedInputStream(new FileInputStream("1223.TXT"));
    }
}
